package com.baoleme.baoleme_goods_service.service;

import com.baoleme_goods_model.dto.CategoryDTO;
import com.baoleme_goods_model.entity.Category;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wuyunbin
 * @since 2024-09-13
 */
public interface CategoryService extends IService<Category> {

    boolean updateCategory(CategoryDTO categoryDTO);

    boolean updateStatus(String id, String status);

    boolean saveCategory(CategoryDTO categoryDTO);
}
